<template>
  <div class="product">
    <Headers></Headers>
    <div class="main">
      <div class="banner">
        <img src="../../../static/product/product-banner.png" alt="">
        <div class="w1200 clear">
          <div class="title-left">
            <p>咨询分享</p>
          </div>
          <div class="title-right">
            <router-link to="/share/info" active-class="active" class="heighta">公司公告</router-link>
            <router-link to="/share/down" class="heighta" active-class="active" >技术更新</router-link>
          </div>
        </div>
      </div>
      <div class="content">
        <div class="w1200">
          <router-view></router-view>
        </div>
      </div>
      </div>
    <Foots></Foots>
  </div>
</template>

<script>
import Headers from '../../components/Headers'
import Foots from '../../components/Foots'
export default {
  name: 'product',
  components: {
    Headers: Headers,
    Foots: Foots
  },
  data () {
    return {
      showorhide: 0
      // loading: true
    }
  },
  methods: {
    show: function (str) {
      this.showorhide = str
    },
    hide: function () {
      this.showorhide = 0
    }
  },
  // created: function () {
  //   setTimeout(function () {
  //     this.loading = false
  //   }, 5000)
  // }
}
</script>

<style scoped lang="less">
.product{
  .main{
    .banner{
      position: relative;
      img{
        display: block;
        max-width: 100%;
      }
      .w1200{
        width: 1200px;
        margin: 0 auto;
        height: 65px;
        background: rgba(76, 140, 220, 0.8);
        position: absolute;
        bottom: 0;
        left: 50%;
        margin-left: -600px;
        .title-left{
          float: left;
          height: 65px;
          line-height: 65px;
          margin-left: 51px;
          p{
            font-size: 18px;
            color: #ffffff;
            font-weight: bold;
            font-family: "Microsoft YaHei";
          }
        }
        .title-right{
          float: right;
          height: 65px;
          line-height: 65px;
          position: relative;
          a{
            font-size: 14px;
            color: #ffffff;
            font-family: "Microsoft YaHei";
            padding-right: 46px;
            position: relative;
            &.active{
              &:before{
                content: '';
                display: block;
                width: 63px;
                height: 2px;
                background: #fff;
                position: absolute;
                bottom: 5px;
                left: 0;
              }
            }
            &.heighta{
              height: 65px;
              display: inline-block;
            }
          }
          .product-infos{
            position: absolute;
            background: #999999;
            left: -991px;
            top: 65px;
            width: 1200px;
            height: 50px;
            text-align: center;
            ul{
              height: 100%;
              overflow: hidden;
              line-height: 50px;
              display: inline-block;
              li{
                text-align: center;
                float: left;
                margin-right: 60px;
                a{
                  font-size: 14px;
                  color: #ffffff;
                  font-family: "Microsoft YaHei";
                  margin-right: 65px;
                  padding-bottom: 10px;
                }
              }
            }
          }
          .product-info{
            position: absolute;
            background: #999999;
            left: -991px;
            top: 65px;
            width: 1200px;
            height: 50px;
            text-align: center;
            ul{
              height: 100%;
              overflow: hidden;
              line-height: 50px;
              display: inline-block;
              li{
                text-align: center;
                float: left;
                margin-right: 60px;
                a{
                  font-size: 14px;
                  color: #ffffff;
                  font-family: "Microsoft YaHei";
                  margin-right: 65px;
                  padding-bottom: 10px;
                }
              }
            }
          }
        }
      }
    }
    .content{
      .w1200{
        width: 1200px;
        margin: 0 auto;
      }
    }
  }
}
</style>